<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/8/18
 * Time: 18:02
 */

namespace App\Http\Controllers\Api;


use App\Service\AdvertService;
use App\Service\ConfigService;
use App\Service\PosterService;

class IndexController extends BaseController
{

    public function getAdvert()
    {
        return AdvertService::getList([],'order','ASC',2);
    }

    public function getPoster()
    {
        return PosterService::getList([],'order','ASC',2);
    }

    public function getNotice()
    {
        return ConfigService::getNotice();
    }
    
    public function getPrice()
    {
        return ConfigService::getPrice();
    }


}
